<?php foreach ($allhomeworks as $single_homework): ?>
<div class="single">
<?php echo $html->link("评价".$single_homework['StudentProfile']['real_name']."的作业", array('controller' => 'homeworks', 'action' => 'evaluate', $single_homework['Homework']['id'])); ?>
</div>
<?php endforeach; ?>